/**
 * ClassModel.java 2017年9月10日
 * 
 * Copyright 2001-2017 iSoftStone All rights reserved.
 * iSoftStone PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.xue.sx.model;

/**
 * 班级数据模型
 * 
 * @author ylmiaoa
 * @since 2017年9月10日
 * @see [Class/Method]
 *
 */
public class ClassModel extends BasicModel {

    /**
     * 序列号
     */
    private static final long serialVersionUID = -2996314241036650251L;

    /**
     * 班级id
     */
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 1,正常；2,删除
     */
    private Long status;

    /**
     * Get the id
     * 
     * @return id
     * @see ClassModel#id
     */
    public Long getId() {
        return id;
    }

    /**
     * Set the id
     * 
     * @param id
     * @see ClassModel#id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Get the name
     * 
     * @return name
     * @see ClassModel#name
     */
    public String getName() {
        return name;
    }

    /**
     * Set the name
     * 
     * @param name
     * @see ClassModel#name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Get the description
     * 
     * @return description
     * @see ClassModel#description
     */
    public String getDescription() {
        return description;
    }

    /**
     * Set the description
     * 
     * @param description
     * @see ClassModel#description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Get the status
     * 
     * @return status
     * @see ClassModel#status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * Set the status
     * 
     * @param status
     * @see ClassModel#status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ClassModel [id=");
        builder.append(id);
        builder.append(", name=");
        builder.append(name);
        builder.append(", description=");
        builder.append(description);
        builder.append(", status=");
        builder.append(status);
        builder.append("]");
        return builder.toString();
    }

}
